package org.example.myleet.p453;

import org.example.myleet.Utils.Assert;

public class Main {
    public static void main(String[] args) {
        Solution solution = new Solution();
        Assert.isTrue(3 == solution.minMoves(new int[]{1,2,3}));
        Assert.isTrue(0 == solution.minMoves(new int[]{1,1,1}));
        Assert.isTrue(7 == solution.minMoves(new int[]{1,3,6}));
        Assert.isTrue(13 == solution.minMoves(new int[]{1,3,4,4,6}));
        Assert.isTrue(0 == solution.minMoves(new int[]{1}));
    }
}
